package com.youshang520i.consuldiscoveryconsumer.service;

import com.youshang520i.consuldiscoveryconsumer.po.Goods;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author youshang
 */
@FeignClient("consul-discovery-provider")
public interface GoodsService {

    @GetMapping("/goodsList")
    List<Goods> selectGoodsList();

}
